<template>
        <Person :list="personList"/>
</template>

<script lang="ts" name="App" setup>
import Person from './components/Person.vue';
import { reactive } from 'vue';
import {type Persons} from './types'

let personList = reactive<Persons>([
{ id: "yadwh01", name: "zhang3", age: 17 },
{ id: "yadwh02", name: "li4", age: 18 },
{ id: "yadwh03", name: "wang5", age: 19 }
])


</script>

<style></style>